<?php  $this->load->view('admin/source/link_bar');?>
		<form method="post" action="<?php echo base_url();?>admin/sources/delete" class="form">
		
<div class="box_function">
		<table width="747" border="0" cellpadding="0" cellspacing="0" class="listproduct" id="listproduct">
			<tbody>
				<tr>
					<td class="tilte_list_pro">
						<input name="checkme" class="noborder" onclick="checkDelBoxes(this.form, 'categoryBox[]', this.checked)" type="checkbox">
					</td>
					<td class="tilte_list_pro">
						ID
						<a href=""><img src="<?php echo base_url();?>images/admin/down.gif" border="0"></a>
						<a href=""><img src="<?php echo base_url();?>images/admin/up.gif" border="0"></a>
					</td>
					<td class="tilte_list_pro">
						Vietnamese Name
					</td>
					<td class="tilte_list_pro">
						English Name
					</td>
					<td class="tilte_list_pro" width="69px">
						Actions
					</td>
				</tr>
	
				<?php
				for($i = 0; $i < count($rows); $i++){
					$id = $rows[$i]->id;
					$vi_name = $rows[$i]->vi_name;
					$en_name = $rows[$i]->en_name;

                    if($i % 2 == 0) $css_class = 'row1';
                            else $css_class = 'row2';
				?>
				<tr onMouseOver="" class="<?php echo $css_class ?>">
					<td class="product">
						<input name="categoryBox[]" value="{$id}" class="noborder" type="checkbox">
					</td>
					<td class="product center" onclick="document.location = '#'">
					<?php echo $id;?>
					</td>
	
					<td class="product" onclick="document.location = '#'">
					<?php echo $vi_name;?>
					</td>
					<td class="product" onclick="document.location = '#'">
					<?php echo $en_name;?>
					</td>
					<td class="product center">
						<a href="<?php echo site_url('admin/sources/edit/' . $id);?>">
							<img src="<?php echo base_url();?>images/admin/edit.gif" alt="Edit" title="Edit" border="0">
						</a>
	
						<a href="<?php echo site_url('admin/sources/delete/' . $id);?>" onclick="return confirm('Delete item #{$id}?');">
						<img src="<?php echo base_url();?>images/admin/delete.gif" alt="Delete" title="Delete" border="0">
						</a>
					</td>
				</tr>
				<?php
				}
				?>
					
			<tr>
				<td colspan="5">
				
			<p>
			<input class="button" name="submitDelcategory" value="Delete selection" onclick="return confirm('Delete selected items?');" type="submit">
			</p>
			<p align="center">
			<?php echo $this->pagination->create_links();?>
			</p>
		</td>
	</tr>
</tbody>
</table>
</div>
		<input name="token" value="ded1f3a9139b6503109bc7811c221485" type="hidden">
		</form>